package com.ctgu.springshiro.service;


import com.ctgu.springshiro.entity.User;

import java.util.List;
import java.util.Map;

public interface IUserService {

    User findUserByName(String username);

    User findUserById(Integer id);

    List<User> getAllUser();

    Map<String, Object> updateUser(String name, Integer id);

    void deleteUser(User user);
}
